package com.yc.cloud.wechat.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @title: AccessTokenResp
 * @Author JackGu
 * @Date: 2022/10/22 16:28
 * @Version 1.0
 */
@NoArgsConstructor
@Data
public class WxUserInfoDto {

    @JsonProperty("openid")
    private String openid;
    @JsonProperty("nickname")
    private String nickname;
    @JsonProperty("sex")
    private Integer sex;
    @JsonProperty("language")
    private String language;
    @JsonProperty("city")
    private String city;
    @JsonProperty("province")
    private String province;
    @JsonProperty("country")
    private String country;
    @JsonProperty("headimgurl")
    private String headimgurl;
    @JsonProperty("privilege")
    private List<?> privilege;
    @JsonProperty("unionid")
    private String unionid;
}
